New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "every component" block #2452
Conversation
@Vishwas-Adiga This is a good start, but since it changes the blocks that are available in the companion, you should rebase the change onto |
Thanks for the pointers, @ewpatton . I'll make the required changes this weekend I'll also try and link to a design document outlining how I came to this block design for the required functionality, if such an arrangement works for you? |
@Vishwas-Adiga Yes that's fine. |
4330415
to
444a7e7
Compare
444a7e7
to
24c7e64
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Vishwas-Adiga. This looks pretty good. Please merge ucr
to pick up @BeksOmega's changes and there are a few minor things to address, but otherwise this looks pretty good to me.
appinventor/components/src/com/google/appinventor/components/runtime/util/ComponentUtil.java
Outdated
Show resolved
Hide resolved
appinventor/components/src/com/google/appinventor/components/runtime/util/ComponentUtil.java
Outdated
Show resolved
Hide resolved
appinventor/components/src/com/google/appinventor/components/runtime/util/ComponentUtil.java
Outdated
Show resolved
Hide resolved
appinventor/blocklyeditor/src/generators/yail/componentblock.js
Outdated
Show resolved
Hide resolved
@Vishwas-Adiga Do you want to go ahead and update this with |
Sorry, I've been unable to work on this lately. I'll work on the style changes and bring the branch up to date right away |
Change-Id: I58f6a35cb9dc3ded9d6217836d51e677fbba0842
Change-Id: Ic9c0034c77584a7593b2b8e48dd31476762d0e8e
This PR adds an "every component" block that returns a list of all components of a given type.
See this community topic for more context.
Screenshots: